<!DOCTYPE html>
<meta charset="UTF-8">
<div style="margin: 10px 0;">简单分页</div>
<div data-type="pagination" style="border: 1px solid #ddd;"
	data-defs="
				total: 114,
				showPageList: false,
				showRefresh: false,
				displayMsg: ''
			"></div>
<div style="margin: 10px 0;">基本用法</div>
<div data-type="pagination" data-defs="total:114" style="border: 1px solid #ddd;"></div>
<div style="margin: 10px 0;">分页工具栏自定义</div>
<div data-type="pagination" data-defs="total:114,buttons:buttons" style="border: 1px solid #ddd;"></div>
<script>
	var buttons = [ {
        iconCls : 'icon-add',
        plain : true,
        pagerbtn : true,
        handler : function() {
	        alert('add');
        }
    }, {
        iconCls : 'icon-cut',
        plain : true,
        pagerbtn : true,
        handler : function() {
	        alert('cut');
        }
    }, {
        iconCls : 'icon-save',
        plain : true,
        pagerbtn : true,
        handler : function() {
	        alert('save');
        }
    } ];
</script>
